package com.ifood.common.core.domain.entity;

import com.ifood.common.annotation.Excel;
import com.ifood.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 录播图管理对象 sys_carousel_info
 *
 * @author ifood
 * @date 2024-01-08
 */
public class SysCarouselInfo extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    private Long id;

    /**
     * 轮播图url
     */
    @Excel(name = "轮播图url")
    @ApiModelProperty("轮播图url")
    private String carouselUrl;

    /**
     * 系统类型 1:app;2mini;3:pc
     */
    @Excel(name = "系统类型 1:app;2mini;3:pc")
    private String sysType;

    /**
     * 帐号状态（0正常 1停用）
     */
    @Excel(name = "帐号状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /**
     * 删除标志（0代表存在 2代表删除）
     */
    private String delFlag;

    /**
     * 门店id
     */
    @Excel(name = "门店id")
    private Long storeId;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setCarouselUrl(String carouselUrl) {
        this.carouselUrl = carouselUrl;
    }

    public String getCarouselUrl() {
        return carouselUrl;
    }

    public void setSysType(String sysType) {
        this.sysType = sysType;
    }

    public String getSysType() {
        return sysType;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStatus() {
        return status;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setStoreId(Long storeId) {
        this.storeId = storeId;
    }

    public Long getStoreId() {
        return storeId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("carouselUrl", getCarouselUrl())
                .append("sysType", getSysType())
                .append("status", getStatus())
                .append("delFlag", getDelFlag())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .append("storeId", getStoreId())
                .toString();
    }
}
